﻿using System;

namespace TwoDimArray
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] a1 = new int[2] { 1, 2 };
            int[,] a2 = new int[2, 3] 
            { 
                { 0, 1, 2 }, 
                { 3, 4, 5 } 
            };

            string[,] chessboard = new string[4, 4] 
            {
                { "A1", "A2", "A3", "A4" },
                { "B1", "B2", "B3", "B4" },
                { "C1", "C2", "C3", "C4" },
                { "D1", "D2", "D3", "D4" }
            };

            for (int i = 0; i < 4; i++)
            {
                Console.WriteLine(chessboard[i,i]);
            }

            for (int i = 0; i < 4; i++)
            {
                for (int j = 0; j < 4; j++)
                {
                    Console.Write(chessboard[i, j] + "  ");
                }
                Console.WriteLine();
            }


        }
    }
}
